package com.gcosc.hly.codejava.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gcosc.hly.codejava.VO.PaperStatisticsVO;
import com.gcosc.hly.codejava.VO.PaperVO;
import com.gcosc.hly.codejava.entity.Paper;
import com.gcosc.hly.codejava.params.QueryParams;

import java.util.List;

public interface PaperService extends IService<Paper> {

    Page<Paper> queryParams(QueryParams params);

    PaperVO detail(int id);

    int edit(Paper paper);

    PaperStatisticsVO getStatisticsById(String id);
}
